package com.platform.modules.mall.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 商户平台活动规则实体
 *
 * @author tech
 * @date 2020-08-08 11:13:13
 */
@Data
@TableName("MALL_RULE")
public class MallRuleEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    @TableId
    private String id;
    /**
     * 活动规则
     */
    @ApiModelProperty(value = "活动规则")
    private String name;
    /**
     * 规则内容
     */
    @ApiModelProperty(value = "规则内容")
    private String detail;
    /**
     * 规则类型，1 吃喝玩乐首页规则，2 会员等级规则，3
     */
    @ApiModelProperty(value = "规则内容")
    private Integer type;
}
